package com.wcx.application.mapper;

import com.wcx.application.domian.BossBean;
import com.wcx.application.domian.CompanyBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompanyMapper {


    List<CompanyBean> getList();

    int update(CompanyBean companyBean);

    int delete(int id);

    int updateAvatarById(String originalFilename, int id);

    int create(CompanyBean companyBean);

    List<CompanyBean> searchList(CompanyBean companyBean);

    int updateAvatarByUserName(String originalFilename, String name);
}
